home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / VECTBAL2.ZIP / XPBMCLIP.H < prev    next >
C/C++ Source or Header  |  1993-09-13  |  2KB  |  84 lines

  1. /*-----------------------------------------------------------------------
  2. ;
  3. ; XPBMCLIP - header file
  4. ;
  5. ;
  6. ;
  7. ; ****** XLIB - Mode X graphics library                ****************
  8. ; ******                                               ****************
  9. ; ****** Written By Themie Gouthas                     ****************
  10. ;
  11. ; egg@dstos3.dsto.gov.au
  12. ; teg@bart.dsto.gov.au
  13. ;
  14. ;  Terminology & notes:
  15. ;         VRAM ==   Video RAM
  16. ;         SRAM ==   System RAM
  17. ;         X coordinates are in pixels unless explicitly stated
  18. ;
  19. ;-----------------------------------------------------------------------*/
  20.  
  21. #ifndef _XPBMCLIP_H_
  22. #define _XPBMCLIP_H_
  23.  
  24.  
  25. /* FUNCTIONS =========================================================== */
  26.  
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30.  
  31.  
  32.  int x_put_masked_pbm_clipx(  /* Copy a planar bitmap from SRAM masking */
  33.           int X,          /* only non zero pixels to VRAM           */
  34.           int Y,          /* Supports clipping in the X direction   */
  35.           WORD ScrnOffs,
  36.           BYTE far * Bitmap);
  37.  
  38.  
  39.  int x_put_masked_pbm_clipy(  /* Copy a planar bitmap from SRAM masking */
  40.           int X,          /* only non zero pixels to VRAM           */
  41.           int Y,          /* Supports clipping in the Y direction   */
  42.           WORD ScrnOffs,
  43.           BYTE far * Bitmap);
  44.  
  45.  int x_put_masked_pbm_clipxy( /* Copy a planar bitmap from SRAM masking */
  46.           int X,          /* only non zero pixels to VRAM           */
  47.           int Y,          /* Supports clipping in the Y direction   */
  48.           WORD ScrnOffs,
  49.           BYTE far * Bitmap);
  50.  
  51.  int x_put_pbm_clipx(         /* Copy a planar bitmap from SRAM masking */
  52.           int X,          /* Supports clipping in the x direction   */
  53.           int Y,
  54.           WORD ScrnOffs,
  55.           BYTE far * Bitmap);
  56.  
  57.  int x_put_pbm_clipy(   /* Copy a planar bitmap from SRAM masking */
  58.           int X,    /* Supports clipping in the Y direction   */
  59.           int Y,
  60.           WORD ScrnOffs,
  61.           BYTE far * Bitmap);
  62.  
  63.  int x_put_pbm_clipx(   /* Copy a planar bitmap from SRAM masking */
  64.           int X,    /* Supports clipping in the X direction   */
  65.           int Y,
  66.           WORD ScrnOffs,
  67.           BYTE far * Bitmap);
  68.  
  69.  int x_put_pbm_clipxy(   /* Copy a planar bitmap from SRAM masking */
  70.           int X,     /* Supports clipping in the X&Y directions */
  71.           int Y,
  72.           WORD ScrnOffs,
  73.           BYTE far * Bitmap);
  74.  
  75.  
  76. #ifdef __cplusplus
  77. }
  78. #endif
  79.  
  80.  
  81. #endif
  82.  
  83.  
  84.